package com.atguigu.vod.utils;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * @author ty
 */
public class InitVodClient {
    public static DefaultAcsClient initClient(String s1,String s2){
        String regionId = "cn-shanghai";
        DefaultProfile profile = DefaultProfile.getProfile(regionId, s1, s2);
        DefaultAcsClient client = new DefaultAcsClient(profile);
        return client;
    }
}
